﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using AppEnvironment.Web;
using System.Collections.Specialized;

namespace AppEnvironment.Gui
{
    public class GuiNavigator : Navigator
    {
        public NameValueCollection Query { get; private set; }

        public GuiNavigator()
        {
            Query = new NameValueCollection();
        }
        

        protected override NameValueCollection GetQueryCollection<TParamType>()
        {
            return Query;
        }

        public override void GoTo(object view, object navParams)
        {
            //does nothing for now
        }

        public override bool IsReturning()
        {
            return false;
        }
    }
}
